package org.dromara.bean.domain.vo;

import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.bean.domain.HisHospital;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 医院视图对象 his_hospital
 *
 * @author Lion Li
 * @date 2024-10-18
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HisHospital.class)
public class HisHospitalVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String title;

    /**
     * 介绍
     */
    @ExcelProperty(value = "介绍")
    private String intro;

    /**
     * 头像
     */
    @ExcelProperty(value = "头像")
    private String photo;

    /**
     * 头像Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "photo")
    private String photoUrl;
    /**
     * 医院地址
     */
    @ExcelProperty(value = "医院地址")
    private String address;
    private String tenantId;
    private String longitude;
    private String latitude;
    private String overview; //医院概况图
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "overview")
    private String overviewUrl; //医院概况图

    private String backgroundImage; //背景图
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "backgroundImage")
    private String backgroundImageUrl; //背景图

    private String banner;//轮播图
    @Translation(
        type = TransConstant.OSS_ID_TO_URL,
        mapper = "banner"
    )
    private String[] bannerUrl;

    @ExcelProperty(value = "关于我们")
    private String about;
    @ExcelProperty(value = "服务协议")
    private String service;
    @ExcelProperty(value = "隐私政策")
    private String privacy;
}
